home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / TextFile / Static / Makefile < prev   
Makefile  |  1995-09-04  |  1KB  |  62 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.ReadToD    \
  4.             o.SkipBlanks    \
  5.  
  6.  
  7. LibName        =    TextFile
  8.  
  9. # Template makefile which makes normal 
  10. # .o files for use in the main static
  11. # linking DeskLib.
  12.  
  13. # The macro $(ObjectFiles) should be set at the 
  14. # start of this file to be a space-separated
  15. # list of object files.
  16. # This is done by 'Makatic'.
  17.  
  18. # The macro $(LibName) should also be set at the 
  19. # start of this file, to be the name of the 
  20. # DeskLib sublibrary.
  21. # This is done by 'Makatic'.
  22.  
  23. # Compiler and linker flags, These can be anything. 
  24. # All essential flags are included in the macros 
  25. # $(CC) and $(ASM)
  26. #
  27. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  28. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  29.  
  30. CC        =    cc -c $(CCFlags)
  31. ASM        =    objasm $(ASMFlags)
  32.  
  33.  
  34. # -------------------------------------------------------
  35. # Everything below here should probably not be changed...
  36. # -------------------------------------------------------
  37.  
  38. # Here's what we want to make...
  39. #
  40. All:        $(ObjectFiles)
  41.  
  42.  
  43. VPATH = @.^
  44.  
  45. .SUFFIXES:    .c .s .o
  46.  
  47. .c.o:
  48.     $(CC) $< -o $@
  49.     
  50. .s.o:
  51.     $(ASM) -from $< -to $@
  52.  
  53.  
  54.  
  55. # Dynamic dependencies:
  56. o.ReadToD:    ^.c.ReadToD
  57. o.ReadToD:    DeskLib:h.Core
  58. o.ReadToD:    DeskLib:h.TextFile
  59. o.SkipBlanks:    ^.c.SkipBlanks
  60. o.SkipBlanks:    DeskLib:h.Core
  61. o.SkipBlanks:    DeskLib:h.TextFile
  62.